home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / tpapi1.zip / NWVAR.PA1 < prev    next >
Text File  |  1991-12-04  |  59KB  |  1,175 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWVAR                                                       **}
  6. {***************************************************************************}
  7. {** Version : 1.0b            ** Started : 11/11/91  ** Ended :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** Variable / constant definition for Netware API library                **}
  12. {**                                                                       **}
  13. {**                                                                       **}
  14. {**                                                                       **}
  15. {**                                                                       **}
  16. {***************************************************************************}
  17. {******************************** Information ******************************}
  18. {***************************************************************************}
  19. {**                                                                       **}
  20. {**                                                                       **}
  21. {**                                                                       **}
  22. {**                                                                       **}
  23. {**                                                                       **}
  24. {***************************************************************************}
  25.  
  26. {$I NETWARE.INC}
  27.  
  28. UNIT NWVAR;
  29.  
  30. INTERFACE
  31.  
  32. TYPE
  33.  
  34.   Byte2ArrayType          = ARRAY [0 .. 1] OF BYTE;
  35.   Byte3ArrayType          = ARRAY [0 .. 2] OF BYTE;
  36.   Byte4ArrayType          = ARRAY [0 .. 3] OF BYTE;
  37.   Byte5ArrayType          = ARRAY [0 .. 4] OF BYTE;
  38.   Byte6ArrayType          = ARRAY [0 .. 5] OF BYTE;
  39.   Byte7ArrayType          = ARRAY [0 .. 6] OF BYTE;
  40.   Byte8ArrayType          = ARRAY [0 .. 7] OF BYTE;
  41.   Byte10ArrayType         = ARRAY [0 .. 9] OF BYTE;
  42.   Byte12ArrayType         = ARRAY [0 .. 11] OF BYTE;
  43.   Byte13ArrayType         = ARRAY [0 .. 12] OF BYTE;
  44.   Byte14ArrayType         = ARRAY [0 .. 13] OF BYTE;
  45.   Byte16ArrayType         = ARRAY [0 .. 15] OF BYTE;
  46.   Byte17ArrayType         = ARRAY [0 .. 16] OF BYTE;
  47.   Byte18ArrayType         = ARRAY [0 .. 17] OF BYTE;
  48.   Byte20ArrayType         = ARRAY [0 .. 19] OF BYTE;
  49.   Byte21ArrayType         = ARRAY [0 .. 20] OF BYTE;
  50.   Byte22ArrayType         = ARRAY [0 .. 21] OF BYTE;
  51.   Byte24ArrayType         = ARRAY [0 .. 23] OF BYTE;
  52.   Byte26ArrayType         = ARRAY [0 .. 25] OF BYTE;
  53.   Byte28ArrayType         = ARRAY [0 .. 27] OF BYTE;
  54.   Byte30ArrayType         = ARRAY [0 .. 29] OF BYTE;
  55.   Byte32ArrayType         = ARRAY [0 .. 31] OF BYTE;
  56.   Byte38ArrayType         = ARRAY [0 .. 37] OF BYTE;
  57.   Byte42ArrayType         = ARRAY [0 .. 41] OF BYTE;
  58.   Byte44ArrayType         = ARRAY [0 .. 43] OF BYTE;
  59.   Byte45ArrayType         = ARRAY [0 .. 44] OF BYTE;
  60.   Byte47ArrayType         = ARRAY [0 .. 46] OF BYTE;
  61.   Byte48ArrayType         = ARRAY [0 .. 47] OF BYTE;
  62.   Byte50ArrayType         = ARRAY [0 .. 49] OF BYTE;
  63.   Byte51ArrayType         = ARRAY [0 .. 50] OF BYTE;
  64.   Byte54ArrayType         = ARRAY [0 .. 53] OF BYTE;
  65.   Byte56ArrayType         = ARRAY [0 .. 55] OF BYTE;
  66.   Byte58ArrayType         = ARRAY [0 .. 57] OF BYTE;
  67.   Byte59ArrayType         = ARRAY [0 .. 58] OF BYTE;
  68.   Byte60ArrayType         = ARRAY [0 .. 59] OF BYTE;
  69.   Byte63ArrayType         = ARRAY [0 .. 62] OF BYTE;
  70.   Byte64ArrayType         = ARRAY [0 .. 63] OF BYTE;
  71.   Byte65ArrayType         = ARRAY [0 .. 64] OF BYTE;
  72.   Byte69ArrayType         = ARRAY [0 .. 68] OF BYTE;
  73.   Byte96ArrayType         = ARRAY [0 .. 95] OF BYTE;
  74.   Byte103ArrayType        = ARRAY [0 .. 102] OF BYTE;
  75.   Byte128ArrayType        = ARRAY [0 .. 127] OF BYTE;
  76.   Byte130ArrayType        = ARRAY [0 .. 129] OF BYTE;
  77.   Byte132ArrayType        = ARRAY [0 .. 131] OF BYTE;
  78.   Byte134ArrayType        = ARRAY [0 .. 133] OF BYTE;
  79.   Byte142ArrayType        = ARRAY [0 .. 141] OF BYTE;
  80.   Byte152ArrayType        = ARRAY [0 .. 151] OF BYTE;
  81.   Byte253ArrayType        = ARRAY [0 .. 252] OF BYTE;
  82.   Byte255ArrayType        = ARRAY [0 .. 254] OF BYTE;
  83.   Byte258ArrayType        = ARRAY [0 .. 257] OF BYTE;
  84.   Byte265ArrayType        = ARRAY [0 .. 264] OF BYTE;
  85.   Byte504ArrayType        = ARRAY [0 .. 503] OF BYTE;
  86.   Byte514ArrayType        = ARRAY [0 .. 513] OF BYTE;
  87.  
  88.   Char13ArrayType         = ARRAY [0 .. 12] OF CHAR;
  89.  
  90.   Word60ArrayType         = ARRAY [0 .. 59] OF WORD;
  91.   Word250ArrayType        = ARRAY [0 .. 249] OF WORD;
  92.  
  93.   Longint5ArrayType       = ARRAY [0 .. 4] OF LONGINT;
  94.   Longint32ArrayType      = ARRAY [0 .. 31] OF LONGINT;
  95.  
  96.   String8Type             = STRING [8];
  97.   String10Type            = STRING [10];
  98.   String12Type            = STRING [12];
  99.   String13Type            = STRING [13];
  100.   String14Type            = STRING [14];
  101.   String16Type            = STRING [16];
  102.   String24Type            = STRING [24];
  103.   String33Type            = STRING [33];
  104.   String40Type            = STRING [40];
  105.   String48Type            = STRING [48];
  106.   String50Type            = STRING [50];
  107.   String64Type            = STRING [64];
  108.   String65Type            = STRING [65];
  109.   String70Type            = STRING [70];
  110.   String80Type            = STRING [80];
  111.   String102Type           = STRING [102];
  112.   String127Type           = STRING [127];
  113.   String128Type           = STRING [128];
  114.   String255Type           = STRING [255];
  115.  
  116.   FileNameType            = String14Type;
  117.   ObjectNameType          = String48Type;
  118.   FullNameType            = String128Type;
  119.   PasswordType            = String128Type;
  120.   QueuePathNameType       = STRING [118];
  121.   PathNameType            = STRING [255];
  122.   PropertyNameType        = STRING [15];
  123.   LogicalRecordNameType   = STRING [100];
  124.   LogicalLockNameType     = String102Type;
  125.   SemaphoreNameType       = STRING [127];
  126.   BannerUserNameType      = Char13ArrayType;
  127.   FormNameType            = Char13ArrayType;
  128.   ConsoleMessageType      = STRING [60];
  129.   BroadcastMessageType    = STRING [55];
  130.   PersonalMessageType     = STRING [127];
  131.   VolumeNameType          = STRING [16];
  132.   DirectoryNameType       = STRING [16];
  133.   PropertyValueType       = Byte128ArrayType;
  134.   BannerTextType          = Char13ArrayType;
  135.  
  136.   NameSpaceNameType       = String12Type;
  137.  
  138.   ConnectionListType      = ARRAY [1 .. 250] OF BYTE;
  139.  
  140.   OT_BinderyID            = LONGINT;
  141.   OT_BinderyType          = WORD;
  142.  
  143.  
  144.   {**********************************************}
  145.   {*** NO ACCOUNTING SERVICES FOR DOS CLIENTS ***}
  146.   {**********************************************}
  147.  
  148.  
  149.   {************************************}
  150.   {*** AFP SERVICES FOR DOS CLIENTS ***}
  151.   {************************************}
  152.  
  153. CONST
  154.  
  155.   AFP_SFI_SetAttributes   = $0001;
  156.   AFP_SFI_CreationDate    = $0002;
  157.   AFP_SFI_AccessDate      = $0004;
  158.   AFP_SFI_ModifyDateTime  = $0008;
  159.   AFP_SFI_BackupDateTime  = $0010;
  160.   AFP_SFI_FinderInfo      = $0020;
  161.   AFP_GFI_Attributes      = $0001;
  162.   AFP_GFI_ParentDirID     = $0002;
  163.   AFP_GFI_CreationDate    = $0004;
  164.   AFP_GFI_AccessDate      = $0008;
  165.   AFP_GFI_ModifyDateTime  = $0010;
  166.   AFP_GFI_BackupDateTime  = $0020;
  167.   AFP_GFI_FinderInfo      = $0040;
  168.   AFP_GFI_LongName        = $0080;
  169.   AFP_GFI_EntryID         = $0100;
  170.   AFP_GFI_DataForkLen     = $0200;
  171.   AFP_GFI_ResrcForkLen    = $0400;
  172.   AFP_GFI_NumOffSpring    = $0800;
  173.   AFP_GFI_OwnerID         = $1000;
  174.   AFP_GFI_ShortName       = $2000;
  175.  
  176. TYPE
  177.  
  178.   AFPFileInfo = RECORD
  179.  
  180.                   EntryID            : LONGINT;
  181.                   ParentID           : LONGINT;
  182.                   Attributes         : WORD;
  183.                   DataForkLength     : LONGINT;
  184.                   ResourceForkLength : LONGINT;
  185.                   NumOffSpring       : WORD;
  186.                   CreationDate       : WORD;
  187.                   AccessDate         : WORD;
  188.                   ModifyDate         : WORD;
  189.                   ModifyTime         : WORD;
  190.                   BackupDate         : WORD;
  191.                   BackupTime         : WORD;
  192.                   FinderInfo         : Byte32ArrayType;
  193.                   LongName           : String33Type;
  194.                   Pad1               : CHAR;
  195.                   OwnerID            : OT_BinderyID;
  196.                   ShortName          : String13Type;
  197.                   pad2               : CHAR;
  198.                   AccessPrivileges   : WORD;
  199.  
  200.                 END;
  201.  
  202.   AFPSetInfo  = RECORD
  203.  
  204.                   Attributes         : WORD;
  205.                   CreationDate       : WORD;
  206.                   AccessDate         : WORD;
  207.                   ModifyDate         : WORD;
  208.                   ModifyTime         : WORD;
  209.                   BackupDate         : WORD;
  210.                   BackupTime         : WORD;
  211.                   FinderInfo         : Byte32ArrayType;
  212.  
  213.                 END;
  214.  
  215.   {*******************************************}
  216.   {*** END OF AFP SERVICES FOR DOS CLIENTS ***}
  217.   {*******************************************}
  218.  
  219.  
  220.   {****************************************}
  221.   {*** BINDERY SERVICES FOR DOS CLIENTS ***}
  222.   {****************************************}
  223.  
  224. CONST
  225.  
  226.   {** Bindery security access byte definitions **}
  227.  
  228.   BS_AnyRead              = $00;       {byte; Readable by anyone}
  229.   BS_LoggedRead           = $01;       {byte; Must be logged in to read}
  230.   BS_ObjectRead           = $02;       {byte; Readable by the object only}
  231.   BS_SuperRead            = $03;       {byte; Readable by Supervisor only}
  232.   BS_BinderyRead          = $04;       {byte; Readable by Bindery only}
  233.   BS_AnyWrite             = $00;       {byte; Writeable by anyone}
  234.   BS_LoggedWrite          = $10;       {byte; Must be logged in to write}
  235.   BS_ObjectWrite          = $20;       {byte; Writeable by the object only}
  236.   BS_SuperWrite           = $30;       {byte; Writeable by Supervisor only}
  237.   BS_BinderyWrite         = $40;       {byte; Writeable by Bindery only}
  238.  
  239.   {** Bindery object type definitions **}
  240.  
  241.   OT_Wild                 = $FFFF;       {Wildcard}
  242.   OT_Unknown              = $00;         {Unknown}
  243.   OT_User                 = $01;         {Object is a user}
  244.   OT_UserGroup            = $02;         {Object is a group}
  245.   OT_PrintQueue           = $03;         {Object is a print queue}
  246.   OT_FileServer           = $04;         {Object is a file server}
  247.   OT_JobServer            = $05;
  248.   OT_Gateway              = $06;
  249.   OT_PrintServer          = $07;
  250.   OT_ArchiveQueue         = $08;
  251.   OT_ArchiveServer        = $09;         {Object is an archive server}
  252.   OT_JobQueue             = $0A;
  253.   OT_Administration       = $0B;
  254.   OT_NasSnaGateway        = $21;
  255.   OT_RemoteBridgeServer   = $24;
  256.   OT_TimeSynchronizationServer = $2D;
  257.   OT_ArchiveServerDynamicSap   = $2E;
  258.   OT_AdvertisingPrintServer    = $47;
  259.   OT_BtrieveVap                = $4B;
  260.   OT_PrintQueueUser            = $53;
  261.  
  262.   (*
  263.   OT_RemoteBridgeServer        = $26;
  264.   OT_TCPIPGateWay              = $27;
  265.   *)
  266.  
  267.   {** Access rights definitions for 286-based Netware **}
  268.  
  269.   TA_None                 = $00;       {byte; Trustee has no rights in directory}
  270.   TA_Read                 = $01;       {byte; Trustee can read from file that is open}
  271.   TA_Write                = $02;       {byte; Trustee can write to a file that is open}
  272.   TA_Open                 = $04;       {byte; Trustee can open an existing file}
  273.   TA_Create               = $08;       {byte; Trustee can create a new file}
  274.   TA_Delete               = $10;       {byte; Trustee can delete files}
  275.   TA_Ownership            = $20;       {byte; Trustee can create subdirectories and modify trustee rights}
  276.   TA_Search               = $40;       {byte; Trustee can view the names of non-hidden files}
  277.   TA_Modify               = $80;       {byte; Trustee can modify the file attributes}
  278.   TA_All                  = $FF;       {byte; Trustee has all of the above rights}
  279.  
  280.   {** Access rights definitions for 386-based Netware **}
  281.  
  282.   TR_None                 = $0000;     {word; Trustee has no rights in directory}
  283.   TR_Read                 = $0001;     {word; For a directory, the trustee can open and read existing
  284.                                         files in this directory unless blocked by mask or trustee rights
  285.                                         assignments.  For a file the trustee can open and read this file}
  286.   TR_Write                = $0002;     {word; For a directory, the trustee can open and write existing
  287.                                         files in this directory unless blocked by mask or trustee rights
  288.                                         assignments.  For a file the trustee can open and write this file}
  289.   TR_Undefined            = $0004;     {word}
  290.   TR_Create               = $0008;     {word; For a directory, the trustee can create files and subdirectories
  291.                                         in this directory.  For a file, the trustee can salvage this file if
  292.                                         deleted.}
  293.   TR_Erase                = $0010;     {word; For a directory, the trustee can delete this directory if the
  294.                                         trustee has rights to delete everything inside it.  For a file, the
  295.                                         trustee can delete this file.}
  296.   TR_Access               = $0020;     {word; For a directory, the trustee can modify the trustee list and
  297.                                         inherited rights mask of this directory.  For a file, the trustee can
  298.                                         modify the trustee list and inherited rights mask of this file.}
  299.   TR_File                 = $0040;     {word; For a directory, the trustee can see the names of files in this
  300.                                         directory when scanning it (unless blocked by mask or trustee rights
  301.                                         assignments).  For a file, the trustee can see the name of this file
  302.                                         when scanning the directory.}
  303.   TR_Modify               = $0080;     {word; For a directory, the trustee can rename this directory and change
  304.                                         its attributes.  For a file, the trustee can rename this file and change
  305.                                         its attributes.}
  306.   TR_Normal               = $00FF;     {word; This attribute grants all rights except TR_Supervisor}
  307.   TR_Supervisor           = $0100;     {word; For a directory, the trustee has all rights to this directory and
  308.                                         all subdirectories and files.  The trustee can grant supervisor rights to
  309.                                         other users in this directory and it subdirectories and files.  User's rights
  310.                                         override all inherited rights masks in subdirectoriesand files.  The trustee
  311.                                         can assign space limitations to subdirectories.  For a file, the trustee has
  312.                                         all rights to this file.}
  313.   TR_All                  = $01FF;     {word; This attribute is a combination of the preceding two attributes.}
  314.  
  315.   {** Attributes of objects and properties in the bindery **}
  316.  
  317.   BF_Static               = $00;       {byte; Object/property is permanent}
  318.   BF_Dynamic              = $01;       {byte; Object/property is temporary}
  319.   BF_Item                 = $00;       {byte; An item property}
  320.   BF_Set                  = $01;       {byte; A set property}
  321.  
  322. TYPE
  323.  
  324.   AccountRestrictionsType = RECORD
  325.  
  326.                               AccountExpirationDate         : Byte3ArrayType;
  327.                               AccountDisabledFlag           : BYTE;
  328.                               PasswordExpirationDate        : Byte3ArrayType;
  329.                               GraceLoginsRemaining          : BYTE;
  330.                               PasswordExpirationInterval    : WORD;
  331.                               GraceLoginResetValue          : BYTE;
  332.                               MinimumPasswordLength         : BYTE;
  333.                               MaximumConncurrentConnections : WORD;
  334.                               AllowedLoginTimeBitmap        : Byte42ArrayType;
  335.                               LastLoginDateAndTime          : Byte6ArrayType;
  336.                               RestrictionFlags              : BYTE;
  337.                               Unused                        : BYTE;
  338.                               MaximumDiskUsageInBlocks      : LONGINT;
  339.                               BadLoginCount                 : WORD;
  340.                               NextResetTime                 : LONGINT;
  341.                               BadLoginAddress               : Byte12ArrayType;
  342.  
  343.                            END;
  344.  
  345.   {***********************************************}
  346.   {*** END OF BINDERY SERVICES FOR DOS CLIENTS ***}
  347.   {***********************************************}
  348.  
  349.  
  350.   {***********************************************}
  351.   {*** COMMUNICATIONS SERVICES FOR DOS CLIENTS ***}
  352.   {***********************************************}
  353.  
  354. CONST
  355.  
  356.   Short_Lived             = $00;
  357.   Long_Lived              = $FF;
  358.   Enable_Watchdog         = $FF;
  359.   Disable_WatchDog        = $00;
  360.  
  361.   SPX_Is_Installed           = $FF;
  362.   SPX_Not_Installed          = $00;
  363.   SPX_Connection_Ok          = $00;
  364.   SPX_Connection_Started     = $00;
  365.   SPX_Connection_Established = $00;
  366.   SPX_Packet_Successful      = $00;
  367.   SPX_Socket_Not_Opened      = $FF;
  368.   SPX_Malformed_Packet       = $FD;
  369.   SPX_Packet_Overflow        = $FD;
  370.   SPX_Listen_Canceled        = $FC;
  371.   SPX_Connection_Table_Full  = $EF;
  372.   SPX_Invalid_Connection     = $EE;
  373.   SPX_No_Answer_From_Target  = $ED;
  374.   SPX_Connection_Failed      = $ED;
  375.   SPX_Connection_Terminated  = $ED;
  376.   SPX_Terminate_Poorly       = $EC;
  377.  
  378. TYPE
  379.  
  380.   IPXAddress                   = RECORD
  381.  
  382.                                    Network                   : Byte4ArrayType;
  383.                                    Node                      : Byte6ArrayType;
  384.                                    Socket                    : WORD;
  385.  
  386.                                  END;
  387.  
  388.   IPXHeader                    = RECORD
  389.  
  390.                                    CheckSum                  : WORD;
  391.                                    LENGTH                    : WORD;
  392.                                    TransportControl          : BYTE;
  393.                                    PacketType                : BYTE;
  394.                                    Destination               : IPXAddress;
  395.                                    Source                    : IPXAddress;
  396.  
  397.                                  END;
  398.  
  399.   SPXHeader                    = RECORD
  400.  
  401.                                    CheckSum                  : WORD;
  402.                                    LENGTH                    : WORD;
  403.                                    TransportControl          : BYTE;
  404.                                    PacketType                : BYTE;
  405.                                    Destination               : IPXAddress;
  406.                                    Source                    : IPXAddress;
  407.                                    ConnectionControl         : BYTE;
  408.                                    DataStreamType            : BYTE;
  409.                                    SourceConnectionID        : WORD;
  410.                                    DestConnectionID          : WORD;
  411.                                    SequenceNumber            : WORD;
  412.                                    AcknowledgeNumber         : WORD;
  413.                                    AllocationNumber          : WORD;
  414.  
  415.                                  END;
  416.  
  417.   Connection_Info              = RECORD
  418.  
  419.                                    ConnectionState           : BYTE;
  420.                                    ConnectionFlags           : BYTE;
  421.                                    SourceConnectionID        : WORD;
  422.                                    DestinationConnectionID   : WORD;
  423.                                    SequenceNumber            : WORD;
  424.                                    AcknowledgeNumber         : WORD;
  425.                                    AllocationNumber          : WORD;
  426.                                    RemoteAcknowledgeNumber   : WORD;
  427.                                    RemoteAllocationNumber    : WORD;
  428.                                    ConnectionSocket          : WORD;
  429.                                    ImmediateAddress          : Byte6ArrayType;
  430.                                    Destination               : IPXAddress;
  431.                                    RetransmissionCount       : WORD;
  432.                                    EstimatedRoundTripDelay   : WORD;
  433.                                    RetransmittedPackets      : WORD;
  434.                                    SuppressedPackets         : WORD;
  435.  
  436.                                  END;
  437.  
  438.   {******************************************************}
  439.   {*** END OF COMMUNICATIONS SERVICES FOR DOS CLIENTS ***}
  440.   {******************************************************}
  441.  
  442.  
  443.   {******************************************}
  444.   {*** DIRECTORY SERVICES FOR DOS CLIENTS ***}
  445.   {******************************************}
  446.  
  447. CONST
  448.  
  449.   No_RestrictionValue     = $40000000;
  450.   SectorSize386           = 512;
  451.   MaxNetwareSearchDrives  = 16;
  452.  
  453.   {** Drive constant definitions **}
  454.  
  455.   NoBaseDrive             = $FF;
  456.   TemporaryDrive          = $00;
  457.   PermanentDrive          = $01;
  458.   TempDrive               = $1A;
  459.   TempDrive1              = $1B;
  460.   TempDrive2              = $1C;
  461.   TempDrive3              = $1D;
  462.  
  463.   {** Drive status definitions **}
  464.  
  465.   DrivePermanent          = $01;       {byte; Permanently mapped to network}
  466.   DriveTemporary          = $02;       {byte; Temporary mapped to network}
  467.   DriveNetwork            = $03;       {byte; Mapped to network}
  468.   DriveLocal              = $80;       {byte; Local drive, if network bit set - mapped to network}
  469.   DriveAdd                = $01;
  470.   DriveInsert             = $02;
  471.   DriveDelete             = $03;
  472.  
  473. TYPE
  474.  
  475.   Volume_Stats                 = RECORD
  476.  
  477.                                    SystemElapsedTime         : LONGINT;
  478.                                    VolumeNumber              : BYTE;
  479.                                    LogicalDriveNumber        : BYTE;
  480.                                    SectorsPerBlock           : WORD;
  481.                                    StartingBlock             : WORD;
  482.                                    TotalBlocks               : WORD;
  483.                                    AvailableBlocks           : WORD;
  484.                                    TotalDirectorySlots       : WORD;
  485.                                    AvailableDirectorySlots   : WORD;
  486.                                    MaxDirectorySlotsUsed     : WORD;
  487.                                    IsHashing                 : BYTE;
  488.                                    IsCaching                 : BYTE;
  489.                                    IsRemovable               : BYTE;
  490.                                    IsMounted                 : BYTE;
  491.                                    VolumeName                : VolumeNameType;
  492.  
  493.                                  END;
  494.   NWSalv_Entry                 = RECORD
  495.  
  496.                                    EntryID                   : LONGINT;
  497.                                    Attributes                : LONGINT;
  498.                                    NameSpaceType             : BYTE;
  499.                                    Name                      : NameSpaceNameType;
  500.                                    LastArchiveDateAndTime    : LONGINT;
  501.                                    LastArchiverID            : OT_BinderyID;
  502.                                    ModifyDateAndTime         : LONGINT;
  503.                                    LastModifierID            : OT_BinderyID;
  504.                                    DataForkSize              : LONGINT;
  505.                                    LastAccessedDate          : WORD;
  506.                                    DeletedFileTime           : LONGINT;
  507.                                    DeletedDateAndTime        : LONGINT;
  508.                                    DeletorID                 : LONGINT;
  509.  
  510.                                  END;
  511.  
  512.   NWFile_Entry                 = RECORD
  513.  
  514.                                    Sequence                  : LONGINT;
  515.                                    Reserved1                 : LONGINT;
  516.                                    Attributes                : LONGINT;
  517.                                    Reserved2                 : Byte2ArrayType;
  518.                                    NSType                    : BYTE;
  519.                                    Name                      : NameSpaceNameType;
  520.                                    CreationDate              : WORD;
  521.                                    CreationTime              : WORD;
  522.                                    OwnerID                   : OT_BinderyID;
  523.                                    LastArchivedDate          : WORD;
  524.                                    LastArchivedTime          : WORD;
  525.                                    LastArchiverID            : OT_BinderyID;
  526.                                    ModifyDate                : WORD;
  527.                                    ModifyTime                : WORD;
  528.                                    lastModifierID            : OT_BinderyID;
  529.                                    DataForkSize              : LONGINT;
  530.                                    Reserved3                 : Byte44ArrayType;
  531.                                    InheritedRightsMask       : WORD;
  532.                                    LastAccessDate            : WORD;
  533.                                    Reserved4                 : Byte28ArrayType;
  534.  
  535.                                  END;
  536.  
  537.   NWDir_Entry                  = RECORD
  538.  
  539.                                    Sequence                  : LONGINT;
  540.                                    Reserved1                 : LONGINT;
  541.                                    Attributes                : LONGINT;
  542.                                    Reserved2                 : Byte2ArrayType;
  543.                                    NSType                    : BYTE;
  544.                                    Name                      : NameSpaceNameType;
  545.                                    CreationDate              : WORD;
  546.                                    CreationTime              : WORD;
  547.                                    OwnerID                   : OT_BinderyID;
  548.                                    LastArchivedDate          : WORD;
  549.                                    LastArchivedTime          : WORD;
  550.                                    LastArchiverID            : OT_BinderyID;
  551.                                    ModifyDate                : WORD;
  552.                                    ModifyTime                : WORD;
  553.                                    Reserved3                 : Byte56ArrayType;
  554.                                    InheritedRightsMask       : WORD;
  555.                                    Reserved4                 : Byte26ArrayType;
  556.  
  557.                                  END;
  558.  
  559.   NWPhys_Entry                 = RECORD
  560.  
  561.                                    Sequence                  : LONGINT;
  562.                                    Reserved1                 : LONGINT;
  563.                                    Attributes                : LONGINT;
  564.                                    Reserved2                 : Byte2ArrayType;
  565.                                    NSType                    : BYTE;
  566.                                    Name                      : NameSpaceNameType;
  567.                                    CreationDate              : WORD;
  568.                                    CreationTime              : WORD;
  569.                                    OwnerID                   : OT_BinderyID;
  570.                                    LastArchivedDate          : WORD;
  571.                                    LastArchivedTime          : WORD;
  572.                                    LastArchiverID            : OT_BinderyID;
  573.                                    ModifyDate                : WORD;
  574.                                    ModifyTime                : WORD;
  575.                                    LastModifierID            : OT_BinderyID;
  576.                                    DataForkSize              : LONGINT;
  577.                                    Reserved3                 : Byte44ArrayType;
  578.                                    InheritedRightsMask       : WORD;
  579.                                    LastAccessDate            : WORD;
  580.                                    Reserved4                 : Byte28ArrayType;
  581.                                    ForkSize                  : Byte10ArrayType;
  582.  
  583.                                  END;
  584.  
  585.   NWMacEntry                   = RECORD
  586.  
  587.                                    Sequence                  : LONGINT;
  588.                                    Reserved1                 : LONGINT;
  589.                                    Attributes                : LONGINT;
  590.                                    Reserved2                 : Byte2ArrayType;
  591.                                    NSType                    : BYTE;
  592.                                    Name                      : NameSpaceNameType;
  593.                                    ResourceFork              : LONGINT;
  594.                                    ResourceForkSize          : LONGINT;
  595.                                    FinderInfo                : Byte32ArrayType;
  596.                                    ProDosInfo                : Byte6ArrayType;
  597.                                    Reserved3                 : Byte38ArrayType;
  598.  
  599.                                  END;
  600.  
  601.   NWDir_Info                   = RECORD
  602.  
  603.                                    TotalBlocks               : LONGINT;
  604.                                    FreeBlocks                : LONGINT;
  605.                                    TotalDirEntries           : LONGINT;
  606.                                    AvailDirEntries           : LONGINT;
  607.                                    Flags                     : LONGINT;
  608.                                    SectorsPerBlock           : BYTE;
  609.                                    VolumeName                : ObjectNameType;
  610.  
  611.                                  END;
  612.  
  613.   NWVol_Usage                  = RECORD
  614.  
  615.                                    TotalBlocks               : LONGINT;
  616.                                    FreeBlocks                : LONGINT;
  617.                                    PurgableBlocks            : LONGINT;
  618.                                    NotYetPurgableBlocks      : LONGINT;
  619.                                    TotalDirEntries           : LONGINT;
  620.                                    AvailDirEntries           : LONGINT;
  621.                                    MaxDirEntriesUsed         : LONGINT;
  622.                                    Flags                     : Byte4ArrayType;
  623.                                    BlockSize                 : WORD;
  624.                                    IsHashing                 : BYTE;
  625.                                    IsRemovable               : BYTE;
  626.                                    VolName                   : ObjectNameType;
  627.  
  628.                                  END;
  629.  
  630.   {*************************************************}
  631.   {*** END OF DIRECTORY SERVICES FOR DOS CLIENTS ***}
  632.   {*************************************************}
  633.  
  634.  
  635.   {********************************************************}
  636.   {*** FILE SERVER ENVIRONMENT SERVICES FOR DOS CLIENTS ***}
  637.   {********************************************************}
  638.  
  639. TYPE
  640.  
  641.  
  642.   Conn_Semaphore               = RECORD
  643.  
  644.                                    OpenCount                 : WORD;
  645.                                    SempahoreValue            : BYTE;
  646.                                    TaskNumber                : BYTE;
  647.                                    SemaphoreName             : SemaphoreNameType;
  648.  
  649.                                  END;
  650.  
  651.   Conn_Task_Info               = RECORD
  652.  
  653.                                    LockStatus                : BYTE;
  654.                                    WaitingTaskNumber         : BYTE;
  655.                                    BeginAddress              : LONGINT;
  656.                                    EndAddress                : LONGINT;
  657.                                    VolumeNumber              : BYTE;
  658.                                    NumberOfTasks             : BYTE;
  659.                                    DirectoryEntry            : WORD;
  660.                                    LockedName                : String50Type;
  661.                                    TaskNumber                : BYTE;
  662.                                    TaskState                 : BYTE;
  663.  
  664.                                  END;
  665.  
  666.   Conn_Usage                   = RECORD
  667.  
  668.                                    SystemElapsedTime         : LONGINT;
  669.                                    BytesRead                 : Byte6ArrayType;
  670.                                    BytesWritten              : Byte6ArrayType;
  671.                                    TotalRequestPackets       : LONGINT;
  672.  
  673.                                  END;
  674.  
  675.   Conn_Using_File              = RECORD
  676.  
  677.                                    UseCount                  : WORD;
  678.                                    OpenCount                 : WORD;
  679.                                    OpenForReadCount          : WORD;
  680.                                    OpenForWriteCount         : WORD;
  681.                                    DenyReadCount             : WORD;
  682.                                    DenyWriteCount            : WORD;
  683.                                    Reserved1                 : WORD;
  684.                                    Locked                    : BYTE;
  685.                                    Reserved2                 : BYTE;
  686.                                    LogicalConnNumber         : WORD;
  687.                                    TaskNumber                : BYTE;
  688.                                    LockType                  : BYTE;
  689.                                    AccessFlags               : BYTE;
  690.                                    LockStatus                : BYTE;
  691.  
  692.                                  END;
  693.  
  694.   Disk_Cache_Stats             = RECORD
  695.  
  696.                                    SystemElapsedTime         : LONGINT;
  697.                                    CacheBufferCount          : WORD;
  698.                                    CacheBufferSize           : WORD;
  699.                                    DirtyCacheBuffers         : WORD;
  700.                                    CacheReadRequests         : LONGINT;
  701.                                    CacheWriteRequests        : LONGINT;
  702.                                    CacheHits                 : LONGINT;
  703.                                    CacheMIsses               : LONGINT;
  704.                                    PhysicalReadRequests      : LONGINT;
  705.                                    PhysicalWriteRequests     : LONGINT;
  706.                                    PhysicalReadErrors        : WORD;
  707.                                    PhysicalWriteErrros       : WORD;
  708.                                    CacheGetRequests          : LONGINT;
  709.                                    CacheFullWriteRequests    : LONGINT;
  710.                                    CachePartialWriteRequests : LONGINT;
  711.                                    BackgroundDirtyWrites     : LONGINT;
  712.                                    BackgroundAgedWrites      : LONGINT;
  713.                                    TotalCacheWrites          : LONGINT;
  714.                                    CacheAllocations          : LONGINT;
  715.                                    ThrashingCount            : WORD;
  716.                                    LRUBlockWasDirtyCount     : WORD;
  717.                                    ReadBeyondWriteCount      : WORD;
  718.                                    FragmentedWriteCount      : WORD;
  719.                                    CacheHitOnUnavailCount    : WORD;
  720.                                    CacheBlockScrappedCount   : WORD;
  721.  
  722.                                  END;
  723.  
  724.  
  725.   Disk_Channel_Stats           = RECORD
  726.  
  727.                                    SystemElapsedTime         : LONGINT;
  728.                                    ChannelState              : WORD;
  729.                                    ChannelSyncState          : WORD;
  730.                                    DriverType                : BYTE;
  731.                                    DriverMajorVersion        : BYTE;
  732.                                    DriverMinorVersion        : BYTE;
  733.                                    DriverDescriptionVersion  : String65Type;
  734.                                    IOAddr1                   : WORD;
  735.                                    IOAddr1Size               : WORD;
  736.                                    IOAddr2                   : WORD;
  737.                                    IOAddr2Size               : WORD;
  738.                                    SharedMem1Seg             : Byte3ArrayType;
  739.                                    SharedMem1Ofs             : WORD;
  740.                                    SharedMem2Seg             : Byte3ArrayType;
  741.                                    SharedMem2Ofs             : WORD;
  742.                                    Interupt1Used             : BYTE;
  743.                                    Interupt1                 : BYTE;
  744.                                    Interupt2Used             : BYTE;
  745.                                    Interupt2                 : BYTE;
  746.                                    DMAChannel1Used           : BYTE;
  747.                                    DMAChannel1               : BYTE;
  748.                                    DMAChannel2Used           : BYTE;
  749.                                    DMAChannel2               : BYTE;
  750.                                    Reserved2                 : WORD;
  751.                                    ConfigDescription         : String80Type;
  752.  
  753.                                  END;
  754.  
  755.   Drive_Map_Table              = RECORD
  756.  
  757.                                    SystemElapsedTime         : LONGINT;
  758.                                    SFTLevel                  : BYTE;
  759.                                    LogicalDriveCount         : BYTE;
  760.                                    PhysicalDriveCount        : BYTE;
  761.                                    DiskChannelTable          : Byte5ArrayType;
  762.                                    PendingIOCommands         : WORD;
  763.                                    MappingTable              : Byte32ArrayType;
  764.                                    DriveMirrorTable          : Byte32ArrayType;
  765.                                    DeadMirrorTable           : Byte32ArrayType;
  766.                                    RemirroredDrive           : BYTE;
  767.                                    Reserved                  : BYTE;
  768.                                    RemirroredBlock           : LONGINT;
  769.                                    SFTErrorTable             : Word60ArrayType;
  770.  
  771.                                  END;
  772.  
  773.   File_Sys_Stats               = RECORD
  774.  
  775.                                    SystemElapsedTime         : LONGINT;
  776.                                    MaxOpenFiles              : WORD;
  777.                                    MaxFilesOpened            : WORD;
  778.                                    CurrOpenFiles             : WORD;
  779.                                    TotalFilesOpened          : LONGINT;
  780.                                    TotalReadRequests         : LONGINT;
  781.                                    TotalWriteRequests        : LONGINT;
  782.                                    CurrChangedFATSectors     : WORD;
  783.                                    TotalChangedFATSectors    : LONGINT;
  784.                                    FATWriteErrors            : WORD;
  785.                                    FatalFATWriteErrors       : WORD;
  786.                                    FATScanErrors             : WORD;
  787.                                    MaxIndexFilesOpened       : WORD;
  788.                                    CurrOpenIndexedFiles      : WORD;
  789.                                    AttachedIndexFiles        : WORD;
  790.                                    AvailableIndexFiles       : WORD;
  791.  
  792.                                  END;
  793.  
  794.   Lan_Config                   = RECORD
  795.  
  796.                                    NetworkAddress            : Byte4ArrayType;
  797.                                    HostAddress               : Byte6ArrayType;
  798.                                    LANDriverInstalled        : BYTE;
  799.                                    OptionNumber              : BYTE;
  800.                                    ConfigurationText1        : String80Type;
  801.                                    ConfigurationText2        : String80Type;
  802.  
  803.                                  END;
  804.  
  805.   Logical_Rec_Info             = RECORD
  806.  
  807.                                    CurrentUseCount           : WORD;
  808.                                    ShareableLockCount        : WORD;
  809.                                    Reserved1                 : WORD;
  810.                                    Locked                    : BYTE;
  811.                                    Reserved2                 : BYTE;
  812.                                    LogicalConnectionNumber   : WORD;
  813.                                    TaskNumber                : BYTE;
  814.                                    LockStatus                : BYTE;
  815.  
  816.                                  END;
  817.  
  818.   Logical_Record               = RECORD
  819.  
  820.                                    TaskNumber                : BYTE;
  821.                                    LockStatus                : BYTE;
  822.                                    LogicalLockName           : LogicalLockNameType;
  823.  
  824.                                  END;
  825.  
  826.   Conn_Open_Files              = RECORD
  827.  
  828.                                    TaskNumber                : BYTE;
  829.                                    LockStatus                : BYTE;
  830.                                    AccessFlag                : BYTE;
  831.                                    LockType                  : BYTE;
  832.                                    VolumeNumber              : BYTE;
  833.                                    Reserved                  : BYTE;
  834.                                    DirectoryEntry            : WORD;
  835.                                    FileName                  : FileNameType;
  836.  
  837.                                  END;
  838.  
  839.   Phys_Disk_Stats              = RECORD
  840.  
  841.                                    SystemElapsedTime         : LONGINT;
  842.                                    DiskChannel               : BYTE;
  843.                                    DiskRemovable             : BYTE;
  844.                                    DriveType                 : BYTE;
  845.                                    ControllerDriveNumber     : BYTE;
  846.                                    ControllerNumber          : BYTE;
  847.                                    ControllerType            : BYTE;
  848.                                    DriveSize                 : LONGINT;
  849.                                    DriveCylinders            : WORD;
  850.                                    DriveHeads                : BYTE;
  851.                                    SectorsPerTrack           : BYTE;
  852.                                    IOErrorCount              : WORD;
  853.                                    HotFixStart               : LONGINT;
  854.                                    HotFixSize                : WORD;
  855.                                    HotFixBlockAvailable      : WORD;
  856.                                    HotFixDisabled            : BYTE;
  857.  
  858.                                  END;
  859.  
  860.   Phys_Rec_Lock                = RECORD
  861.  
  862.                                    PhysicalRecordLockCount   : BYTE;
  863.                                    Reserved                  : BYTE;
  864.                                    LoggedCount               : WORD;
  865.                                    ShareLockCount            : WORD;
  866.                                    RecordStart               : LONGINT;
  867.                                    RecordEnd                 : LONGINT;
  868.                                    ConnectionNumber          : WORD;
  869.                                    TaskNumber                : BYTE;
  870.                                    LockType                  : BYTE;
  871.  
  872.                                  END;
  873.  
  874.   Server_Lan_IO                = RECORD
  875.  
  876.                                    SystemElapsedTime         : LONGINT;
  877.                                    MaxRoutingBuffersAvail    : WORD;
  878.                                    MaxRoutingBuffersUsed     : WORD;
  879.                                    RoutingBuffersInUse       : WORD;
  880.                                    TotalFileServicePackets   : LONGINT;
  881.                                    FileServicePacketsBuffered : WORD;
  882.                                    InvalidConnPacketCount    : WORD;
  883.                                    BadLogicalConnCount       : WORD;
  884.                                    PacketsRcvdDuringProcCount : WORD;
  885.                                    ReprocessedRequestCount   : WORD;
  886.                                    BadSequenceNumberPacketCount : WORD;
  887.                                    DuplicateReplyCount       : WORD;
  888.                                    AcknowledgementsSent      : WORD;
  889.                                    BadRequestTypeCount       : WORD;
  890.                                    AttachDuringProcCount     : WORD;
  891.                                    AttachWhileAttachingCount : WORD;
  892.                                    ForgedDetachRequestCount  : WORD;
  893.                                    BadConnNumberOnDetachCount : WORD;
  894.                                    DetachDuringProcCount     : WORD;
  895.                                    RepliesCanceledCount      : WORD;
  896.                                    HopCountDiscardCount      : WORD;
  897.                                    UnknownNetDiscardCount    : WORD;
  898.                                    NoDGroupBufferDiscardCount : WORD;
  899.                                    OutPacketNoBufferDiscardCount : WORD;
  900.                                    IPXNotMyNetworkCount      : WORD;
  901.                                    NetBiosPropagationCount   : LONGINT;
  902.                                    TotalOtherPackets         : LONGINT;
  903.                                    TotalRoutedPackets        : LONGINT;
  904.  
  905.                                  END;
  906.  
  907.   Server_Misc_Info             = RECORD
  908.  
  909.                                    SystemElapsedTime         : LONGINT;
  910.                                    ProcessorType             : BYTE;
  911.                                    Reserved                  : BYTE;
  912.                                    ServiceProcessCount       : BYTE;
  913.                                    ServerUtilizationCount    : BYTE;
  914.                                    MaxBinderyObjectsAvail    : WORD;
  915.                                    MaxBinderyObjectsUsed     : WORD;
  916.                                    BinderyObjectsInUse       : WORD;
  917.                                    ServerMemoryInK           : WORD;
  918.                                    ServerWastedMemoryInK     : WORD;
  919.                                    DynamicAreaCount          : WORD;
  920.                                    DynamicSpace1             : LONGINT;
  921.                                    MaxUsedDynamicSpace1      : LONGINT;
  922.                                    DynamicSpaceInUse1        : LONGINT;
  923.                                    DynamicSpace2             : LONGINT;
  924.                                    MaxUsedDynamicSpace2      : LONGINT;
  925.                                    DynamicSpaceInUse2        : LONGINT;
  926.                                    DynamicSpace3             : LONGINT;
  927.                                    MaxUsedDynamicSpace3      : LONGINT;
  928.                                    DynamicSpaceInUse3        : LONGINT;
  929.  
  930.                                  END;
  931.  
  932.   File_Serv_Info               = RECORD
  933.  
  934.                                    ServerName                : ObjectNameType;
  935.                                    NetwareVersion            : BYTE;
  936.                                    NetwareSubVersion         : BYTE;
  937.                                    MaxConnectionsSupported   : WORD;
  938.                                    ConnectionsInUse          : WORD;
  939.                                    MaxVolumesSupported       : WORD;
  940.                                    RevisionLevel             : BYTE;
  941.                                    SFTLevel                  : BYTE;
  942.                                    TTSLevel                  : BYTE;
  943.                                    PeakConnectionsUsed       : WORD;
  944.                                    AccountingVersion         : BYTE;
  945.                                    VAPVersion                : BYTE;
  946.                                    QueingVersion             : BYTE;
  947.                                    PrintServerVersion        : BYTE;
  948.                                    VirtualConsoleVersion     : BYTE;
  949.                                    SecurityRestrictionsLevel : BYTE;
  950.                                    InternetBridgeSupport     : BYTE;
  951.  
  952.                                  END;
  953.  
  954.   Short_Phys_Rec_Lock          = RECORD
  955.  
  956.                                    TaskNumber                : BYTE;
  957.                                    LockFlag                  : BYTE;
  958.                                    RecordStart               : LONGINT;
  959.                                    RecordEnd                 : LONGINT;
  960.  
  961.                                  END;
  962.  
  963.   TTS_Stats                    = RECORD
  964.  
  965.                                    SystemElapsedTime         : LONGINT;
  966.                                    TTS_Supported             : BYTE;
  967.                                    TTS_Enabled               : BYTE;
  968.                                    TTS_VolumeNumber          : WORD;
  969.                                    TTS_MaxOpenTransactions   : WORD;
  970.                                    TTS_MaxTransactionsOpened : WORD;
  971.                                    TTS_CurrTransactionsOpen  : WORD;
  972.                                    TTS_TotalTransactions     : LONGINT;
  973.                                    TTS_TotalWrites           : LONGINT;
  974.                                    TTS_TotalBackouts         : LONGINT;
  975.                                    TTS_UnfilledBackouts      : WORD;
  976.                                    TTS_DiskBlocksInUse       : WORD;
  977.                                    TTS_FATAllocations        : LONGINT;
  978.                                    TTS_FileSizeChanges       : LONGINT;
  979.                                    TTS_FilesTruncated        : LONGINT;
  980.                                    NumberOfTransactions      : BYTE;
  981.                                    ConnectionNumber          : BYTE;
  982.                                    TaskNumber                : BYTE;
  983.  
  984.                                  END;
  985.  
  986.   {***********************************************}
  987.   {*** END OF FILE SERVER ENVIRONMENT SERVICES ***}
  988.   {***********************************************}
  989.  
  990.   {**************************************}
  991.   {*** PRINT SERVICES FOR DOS CLIENTS ***}
  992.   {**************************************}
  993.  
  994. TYPE
  995.  
  996.   Capture_Flags                = RECORD
  997.  
  998.                                    Status                    : BYTE;
  999.                                    Flags                     : BYTE;
  1000.                                    TabSize                   : BYTE;
  1001.                                    ServerPrinter             : BYTE;
  1002.                                    NumberOfCopies            : BYTE;
  1003.                                    FormType                  : BYTE;
  1004.                                    Reserved                  : BYTE;
  1005.                                    BannerText                : BannerTextType;
  1006.                                    Reserve                   : BYTE;
  1007.                                    LocalLPTDevice            : BYTE;
  1008.                                    FlushCaptureTimeoutCount  : WORD;
  1009.                                    FlushCaptureOnDeviceClose : BYTE;
  1010.                                    MaxLines                  : WORD;
  1011.                                    MaxChars                  : WORD;
  1012.                                    FormName                  : FormNameType;
  1013.                                    LPTCaptureFlag            : BYTE;
  1014.                                    FileCaptureFlag           : BYTE;
  1015.                                    TimingOutFlag             : BYTE;
  1016.                                    PrinterSetupBuffer        : LONGINT;
  1017.                                    PrinterResetBuffer        : LONGINT;
  1018.                                    ConnectionIDQueuePrintJob : BYTE;
  1019.                                    CaptureInProgress         : BYTE;
  1020.                                    PrintQueueFlag            : BYTE;
  1021.                                    PrintJobValid             : BYTE;
  1022.                                    PrintQueueID              : OT_BinderyID;
  1023.                                    PrintJobNumber            : WORD;
  1024.  
  1025.                                  END;
  1026.  
  1027.   Set_Capture_Flags            = RECORD
  1028.  
  1029.                                    Status                    : BYTE;
  1030.                                    Flags                     : BYTE;
  1031.                                    TabSize                   : BYTE;
  1032.                                    ServerPrinter             : BYTE;
  1033.                                    NumberOfCopies            : BYTE;
  1034.                                    FormType                  : BYTE;
  1035.                                    Reserved                  : BYTE;
  1036.                                    BannerText                : BannerTextType;
  1037.                                    Reserve                   : BYTE;
  1038.                                    LocalLPTDevice            : BYTE;
  1039.                                    FlushCaptureTimeoutCount  : WORD;
  1040.                                    FlushCaptureOnDeviceClose : BYTE;
  1041.                                    MaxLines                  : WORD;
  1042.                                    MaxChars                  : WORD;
  1043.                                    FormName                  : FormNameType;
  1044.                                    Pad                       : Byte21ArrayType;
  1045.  
  1046.                                  END;
  1047.  
  1048.   {*********************************************}
  1049.   {*** END OF PRINT SERVICES FOR DOS CLIENTS ***}
  1050.   {*********************************************}
  1051.  
  1052.  
  1053.   {**************************************}
  1054.   {*** QUEUE SERVICES FOR DOS CLIENTS ***}
  1055.   {**************************************}
  1056.  
  1057. CONST
  1058.  
  1059.   {JOB CONTROL FLAGS}
  1060.  
  1061.   QF_Operator_Hold        = $80;
  1062.   QF_User_Hold            = $40;
  1063.   QF_Entry_Open           = $20;
  1064.   QF_Service_Restart      = $10;
  1065.   QF_Auto_Start           = $08;
  1066.  
  1067.   {QUEUE STATUS FLAGS}
  1068.  
  1069.   QS_Cant_Add_Jobs        = $01;
  1070.   QS_Servers_Cant_Attach  = $02;
  1071.   QS_Cant_Service_Jobs    = $04;
  1072.  
  1073. TYPE
  1074.  
  1075.   JobStruct               = RECORD
  1076.  
  1077.                               ClientStation : BYTE;
  1078.                               ClientTaskNumber : BYTE;
  1079.                               ClientIDNumber   : OT_BinderyID;
  1080.                               TargetServerIDNumber : OT_BinderyID;
  1081.                               TargetExecutionTime  : Byte6ArrayType;
  1082.                               JobEntryTime         : Byte6ArrayType;
  1083.                               JobNumber            : WORD;
  1084.                               JobType              : WORD;
  1085.                               JobPosition          : BYTE;
  1086.                               JobControlFlags      : BYTE;
  1087.                               JobFileName          : FileNameType;
  1088.                               JobFileHandle        : Byte6ArrayType;
  1089.                               ServerStation        : BYTE;
  1090.                               ServerTaskNumber     : BYTE;
  1091.                               ServerIDNumber       : OT_BinderyID;
  1092.                               TextJobDescription   : Byte50ArrayType;
  1093.                               ClientRecordArea     : Byte152ArrayType;
  1094.  
  1095.                             END;
  1096.  
  1097.  
  1098.   {*****************************************}
  1099.   {*** END OF QUEUE ENVIRONMENT SERVICES ***}
  1100.   {*****************************************}
  1101.  
  1102.  
  1103.   {*********************}
  1104.   {*** MISCEALLONOUS ***}
  1105.   {*********************}
  1106.  
  1107. CONST
  1108.  
  1109.   HexCharacterSet         : ARRAY [0 .. 15] OF CHAR = '0123456789ABCDEF';
  1110.  
  1111. TYPE
  1112.  
  1113.   ConnectionIDTableType   = RECORD
  1114.  
  1115.                               InUseFlag            : BYTE;
  1116.                               OrderNumber          : BYTE;
  1117.                               NetworkNumber        : Byte4ArrayType;
  1118.                               PhysicalNodeAddress  : Byte6ArrayType;
  1119.                               SocketNumber         : WORD;
  1120.                               ReceiveTimeOut       : WORD;
  1121.                               RoutingNode          : Byte6ArrayType;
  1122.                               PacketSequenceNumber : BYTE;
  1123.                               ConnectionNumber     : BYTE;
  1124.                               ConnectionStatus     : BYTE;
  1125.                               MaximumTimeOut       : WORD;
  1126.                               Padding              : Byte5ArrayType;
  1127.  
  1128.                             END;
  1129.  
  1130.   AddressValueType        = RECORD
  1131.  
  1132.                               LENGTH        : BYTE;
  1133.                               NetworkNumber : Byte4ArrayType;
  1134.                               NodeAddress   : Byte6ArrayType;
  1135.  
  1136.                             END;
  1137.  
  1138.   ServerAddressType       = RECORD
  1139.  
  1140.                               NetworkNumber : Byte4ArrayType;
  1141.                               NodeAddress   : Byte6ArrayType;
  1142.                               SocketNumber  : WORD;
  1143.                               AddressValue  : String10Type;
  1144.  
  1145.                             END;
  1146.  
  1147.   ServerIDTableType       = RECORD
  1148.  
  1149.                               STInUse       : BOOLEAN;
  1150.                               STOrderNumber : WORD;
  1151.                               STAddress     : ServerAddressType;
  1152.  
  1153.                             END;
  1154.  
  1155.  
  1156. CONST
  1157.  
  1158.   BlankServerIDTable : ServerIDTableType =
  1159.  
  1160.                          (STInuse       : FALSE;
  1161.                           STOrderNumber : 0;
  1162.                           STAddress     : (NetworkNumber : (0, 0, 0, 0);
  1163.                                            NodeAddress   : (0, 0, 0, 0, 0, 0);
  1164.                                            SocketNumber  : 0;
  1165.                                            AddressValue  : '') );
  1166.  
  1167.  
  1168.   MaxObjectsInList        = 250;
  1169.  
  1170. TYPE
  1171.  
  1172.   ObjectListingType            = ARRAY [1 .. MaxObjectsInList] OF ObjectNameType;
  1173.   ObjectListingTypePtr         = ^ObjectListingType;
  1174.                                              
  1175.